package com.example.lvsuo.controller.cxg;


import com.example.lvsuo.modal.Result;
import com.example.lvsuo.service.cxg.ISendWaayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 运送方式表 前端控制器
 * </p>
 *
 *
 * 快递公司
 *
 *
 * @author 心心念念
 * @since 2021-03-30
 */
@RestController
@RequestMapping("/sendWaay")
public class SendWaayController {

    @Autowired
    ISendWaayService iSendWaayService;


    @GetMapping
    public Result querySendWaay(){
        return  Result.back("ok","20000",iSendWaayService.list());
    }


}

